package com.happok.onlineclass.usermanagement.setting.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 接口分类                        yapi 分类文件夹
 * 功能说明
 *
 * @author : chenac
 * @module 项目名称/模块名          yapi 项目组/子项目
 * @date : 2021/10/8 16:33
 */
@Data
public class SmsSettingDTO {
    /**
     * 平台类型,ALI(现只支持)/TENCENT
     */
    @ApiModelProperty(value = "平台类型")
    @NotBlank(message = "平台类型不能为空")
    @Length(max = 200, message = "平台类型长度过长")
    private String smsPlatform;
    /**
     * accessKeyId
     */
    @ApiModelProperty(value = "accessKeyId")
    @Length(max = 200, message = "accessKeyId长度过长")
    private String accessKeyId;
    /**
     * accessKeySecret
     */
    @ApiModelProperty(value = "accessKeySecret")
    @Length(max = 200, message = "accessKeySecret长度过长")
    private String accessKeySecret;
    /**
     * 短信签名
     */
    @ApiModelProperty(value = "短信签名")
    @Length(max = 200, message = "短信签名长度过长")
    private String smsSign;
    /**
     * 访问域名
     */
    @ApiModelProperty(value = "访问域名")
    @Length(max = 200, message = "访问域名长度过长")
    private String domainName;
}